#ifndef DISPLAYWIDGET_H
#define DISPLAYWIDGET_H

#include <QWidget>
#include "DisplayController.h"

class DisplayWidget : public QWidget
{
public:
	DisplayWidget(DisplayController* controller, QWidget* parentWidget);
	void addDisplay(LMONDisplay* pDisplay);
	void calculatePositions();
	void Redraw();
	QSize sizeHint() const;
	void setTimeScale(int timeScale);
private:
	void paintEvent(QPaintEvent* event);

private:
	DisplayController* _pController;
	vector<LMONDisplay*> _display;
};

#endif
